//
//  HOContactEntity.m
//  WeiDu
//
//  Created by foguo-mac-1 on 28/12/2017.
//  Copyright © 2017 WeiDu. All rights reserved.
//

#import "HOContactEntity.h"
#import "HOConstants.h"
#import "HOUtils.h"

@implementation HOContactEntity
- (void)parseDic:(NSDictionary *)dic
{
	self.userId = [[HOUtils getValideString:[dic objectForKey:kHO_FIELD_Uid]] intValue];
	self.departmentId = [[HOUtils getValideString:[dic objectForKey:kHO_FIELD_DepartmentId]] intValue];
	self.departmentName = [HOUtils getValideString:[dic objectForKey:kHO_FIELD_DepartmentName]];
	self.telephone = [HOUtils getValideString:[dic objectForKey:kHO_FIELD_Telephone]];
	self.userName = [HOUtils getValideString:[dic objectForKey:kHO_FIELD_TrueName]];
}


@end
